import { Wallet as hello} from "../model/wallet"

class wallet{

  //获取 会员钱包余额的方法
  static async walletMoney(){
    let result = await hello.get_user_balance()
    if (result.code == 0) {
      return result.data
    } else {
      wx.showToast(result.msg)
    }
  }

}

export { wallet }